<!--行星轮系齿轮宏观参数校核-->
<template>
  <div class="sum" style="width: 100%;height: 100%">
    <a-row class="all" style="width: 100%;height: 100%">
      <a-row class="all_inpit" style="height: 94%;width: 100%">
        <a-col class="all_inpit_l" :span="16" style="height: 100%">
          <a-row style="height: 0.5%"></a-row>
          <a-row class="params1" style="height: 3%"><div style="width: 50%;height: 100%"><label style="display: block;margin-left: 1.5%">参数</label></div></a-row>
          <a-row class="l_top" style="height: 30%;">
            <a-col :span="12" style="height: 100%">
              <a-row style="height: 12%;"></a-row>
              <a-row style="height: 88%">
                <a-row style="height: 8%;background: #f2f2f2"><div style="width: 100%;height: 100%"><label style="display: block;margin-top: -0.5%;margin-left: 3.5%">齿轮材料基本参数</label></div></a-row>
                <a-row style="height: 92%">
                  <a-row style="height: 11.11%">
                    <a-col :span="7" style="height: 100%"></a-col>
                    <a-col :span="6" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: 25%"><label>太阳轮</label></div></a-col>
                    <a-col :span="4" style="height: 100%"><div style="width: 100%;height: 100%;"><label>行星轮</label></div></a-col>
                    <a-col :span="7" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: 6%"><label>齿圈</label></div></a-col>
                  </a-row>
                  <a-row style="height: 11.11%">
                    <a-col :span="7" style="height: 100%"><div style="width: 100%;height: 100%;text-align: right"><label>材料类型</label></div></a-col>
                    <a-col :span="5" style="height: 100%">
                      <div style="width: 100%;height: 100%;margin-left: 18%;margin-top:-1%;">
                        <label>
                          <select style="width: 60%;height: 90%" v-model="params_8.material_type_s">
                            <option value="1">渗碳淬火</option>
                            <option value="2">调质</option>
                            <option value="3">渗氮钢</option>
                            <option value="4">结构钢</option>
                            <option value="5">感应淬火和火焰淬火钢</option>
                            <option value="6">氮碳共渗钢</option>
                          </select>
                        </label>
                      </div>
                    </a-col>
                    <a-col :span="5" style="height: 100%">
                      <div style="width: 100%;height: 100%;margin-left: 9%;margin-top:-1%;">
                        <select style="width: 58%;height: 90%" v-model="params_8.material_type_p">
                          <option value="1">渗碳淬火</option>
                          <option value="2">调质</option>
                          <option value="3">渗氮钢</option>
                          <option value="4">结构钢</option>
                          <option value="5">感应淬火和火焰淬火钢</option>
                          <option value="6">氮碳共渗钢</option>
                        </select>
                      </div>
                    </a-col>
                    <a-col :span="7" style="height: 100%">
                      <div style="width: 100%;height: 100%;margin-left: -4%;margin-top:-1%;">
                        <select style="width: 43%;height: 90%" v-model="params_8.material_type_r">
                          <option value="1">渗碳淬火</option>
                          <option value="2">调质</option>
                          <option value="3">渗氮钢</option>
                          <option value="4">结构钢</option>
                          <option value="5">感应淬火和火焰淬火钢</option>
                          <option value="6">氮碳共渗钢</option>
                        </select>
                      </div>
                    </a-col>
                  </a-row>
                  <a-row style="height: 11.11%">
                    <a-col :span="7" style="height: 100%"><div style="width: 100%;height: 100%;text-align: right"><label>屈服应力（MPa）</label></div></a-col>
                    <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: 18%;margin-top:-1%;"><input style="width: 60%;height: 90%;text-align: center" v-model="params_8.sigma_s_s"/></div></a-col>
                    <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: 8.5%;margin-top:-1%;"><input style="width: 59%;height: 90%;text-align: center" v-model="params_8.sigma_s_p"/></div></a-col>
                    <a-col :span="7" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: -4%;margin-top:-1%;"><input style="width: 43%;height: 90%;text-align: center" v-model="params_8.sigma_s_r"/></div></a-col>
                  </a-row>
                  <a-row style="height: 11.11%">
                    <a-col :span="7" style="height: 100%"><div style="width: 100%;height: 100%;text-align: right"><label>接触疲劳极限应力（MPa）</label></div></a-col>
                    <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: 18%;margin-top:-1%;"><input style="width: 60%;height: 90%;text-align: center" v-model="params_8.sigma_Hlim_s"/></div></a-col>
                    <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: 8.5%;margin-top:-1%;"><input style="width: 59%;height: 90%;text-align: center" v-model="params_8.sigma_Hlim_p"/></div></a-col>
                    <a-col :span="7" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: -4%;margin-top:-1%;"><input style="width: 43%;height: 90%;text-align: center" v-model="params_8.sigma_Hlim_r"/></div></a-col>
                  </a-row>
                  <a-row style="height: 11.11%">
                    <a-col :span="7" style="height: 100%"><div style="width: 100%;height: 100%;text-align: right"><label>弯曲疲劳极限应力（MPa）</label></div></a-col>
                    <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: 18%;margin-top:-1%;"><input style="width: 60%;height: 90%;text-align: center" v-model="params_8.sigma_Flim_s"/></div></a-col>
                    <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: 8.5%;margin-top:-1%;"><input style="width: 59%;height: 90%;text-align: center" v-model="params_8.sigma_Flim_p"/></div></a-col>
                    <a-col :span="7" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: -4%;margin-top:-1%;"><input style="width: 43%;height: 90%;text-align: center" v-model="params_8.sigma_Flim_r"/></div></a-col>
                  </a-row>
                  <a-row style="height: 11.11%">
                    <a-col :span="7" style="height: 100%"><div style="width: 100%;height: 100%;text-align: right"><label>齿面硬度（HB）</label></div></a-col>
                    <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: 18%;margin-top:-1%;"><input style="width: 60%;height: 90%;text-align: center" v-model="params_8.hardness_HB_s"/></div></a-col>
                    <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: 8.5%;margin-top:-1%;"><input style="width: 59%;height: 90%;text-align: center" v-model="params_8.hardness_HB_p"/></div></a-col>
                    <a-col :span="7" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: -4%;margin-top:-1%;"><input style="width: 43%;height: 90%;text-align: center" v-model="params_8.hardness_HB_r"/></div></a-col>
                  </a-row>
                  <a-row style="height: 11.11%">
                    <a-col :span="7" style="height: 100%"><div style="width: 100%;height: 100%;text-align: right"><label>弹性模量（MPa）</label></div></a-col>
                    <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: 18%;margin-top:-1%;"><input style="width: 60%;height: 90%;text-align: center" v-model="params_8.E_s"/></div></a-col>
                    <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: 8.5%;margin-top:-1%;"><input style="width: 59%;height: 90%;text-align: center" v-model="params_8.E_p"/></div></a-col>
                    <a-col :span="7" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: -4%;margin-top:-1%;"><input style="width: 43%;height: 90%;text-align: center" v-model="params_8.E_r"/></div></a-col>
                  </a-row>
                  <a-row style="height: 11.11%">
                    <a-col :span="7" style="height: 100%"><div style="width: 100%;height: 100%;text-align: right"><label>泊松比</label></div></a-col>
                    <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: 18%;margin-top:-1%;"><input style="width: 60%;height: 90%;text-align: center" v-model="params_8.possion_s"/></div></a-col>
                    <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: 8.5%;margin-top:-1%;"><input style="width: 59%;height: 90%;text-align: center" v-model="params_8.possion_p"/></div></a-col>
                    <a-col :span="7" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: -4%;margin-top:-1%;"><input style="width: 43%;height: 90%;text-align: center" v-model="params_8.possion_r"/></div></a-col>
                  </a-row>
                  <a-row style="height: 11.12%">
                    <a-col :span="7" style="height: 100%"><div style="width: 100%;height: 100%;text-align: right" v-if="picked==='2'||e==='2'"><label>密度（kg/m^30）</label></div></a-col>
                    <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: 18%;margin-top:-1%;" v-if="picked==='2'||e==='2'"><input style="width: 60%;height: 90%;text-align: center" v-model="params_8.density_s"/></div></a-col>
                    <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: 8.5%;margin-top:-1%;" v-if="picked==='2'||e==='2'"><input style="width: 59%;height: 90%;text-align: center" v-model="params_8.density_p"/></div></a-col>
                    <a-col :span="7" style="height: 100%"><div style="width: 100%;height: 100%;margin-left: -4%;margin-top:-1%;" v-if="picked==='2'||e==='2'"><input style="width: 43%;height: 90%;text-align: center" v-model="params_8.density_r"/></div></a-col>
                  </a-row>
                </a-row>
              </a-row>
            </a-col>
            <a-col :span="11" style="height: 100%">
              <a-row class="suntitle" style="height: 10%;background: #f2f2f2"><div style="width: 100%;height: 100%"><label>齿轮宏观参数输入</label></div></a-row>
              <a-row style="height: 90%">
                <a-row style="height: 10%">
                  <a-col :span="9" style="height: 100%"></a-col>
                  <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;text-align: center"><label>太阳轮</label></div></a-col>
                  <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;text-align: center"><label>行星轮</label></div></a-col>
                  <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;text-align: center"><label>齿圈</label></div></a-col>
                </a-row>
                <a-row style="height: 10%">
                  <a-col :span="9" style="height: 100%;text-align: right">设计法向模数（mm）</a-col>
                  <a-col :span="15" style="height: 100%"><div style="width: 100%;height: 100%;text-align: center"><input style="width: 90%;height: 95%;text-align: center" v-model="params_8.normal_module"/></div></a-col>
                </a-row>
                <a-row style="height: 10%">
                  <a-col :span="9" style="height: 100%;text-align: right">设计齿数</a-col>
                  <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 70%;text-align: center" v-model="params_8.z_s"/></div></a-col>
                  <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 70%;text-align: center" v-model="params_8.z_p"/></div></a-col>
                  <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 70%;text-align: center" v-model="params_8.z_r"/></div></a-col>
                </a-row>
                <a-row style="height: 10%">
                  <a-col :span="9" style="height: 100%;text-align: right">设计法向压力角（°）</a-col>
                  <a-col :span="15" style="height: 100%"><div style="width: 100%;height: 100%;text-align: center"><input style="width: 90%;height: 95%;text-align: center" v-model="params_8.press_angle"/></div></a-col>

                </a-row>
                <a-row style="height: 10%">
                  <a-col :span="9" style="height: 100%;text-align: right">设计螺旋角（°）</a-col>
                  <a-col :span="15" style="height: 100%"><div style="width: 100%;height: 100%;text-align: center"><input style="width: 90%;height: 95%;text-align: center" v-model="params_8.helix_angle"/></div></a-col>

                </a-row>
                <a-row style="height: 10%">
                  <a-col :span="9" style="height: 100%;text-align: right">设计中心距（mm）</a-col>
                  <a-col :span="15" style="height: 100%"><div style="width: 100%;height: 100%;text-align: center"><input style="width: 90%;height: 95%;text-align: center" v-model="params_8.work_center"/></div></a-col>

                </a-row>
                <a-row style="height: 10%">
                  <a-col :span="9" style="height: 100%;text-align: right">设计法向变位系数</a-col>
                  <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 70%;text-align: center" v-model="params_8.normal_modi_factor_s"/></div></a-col>
                  <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;text-align: center"><label style="height: 95%;width: 70%;text-align: center" >{{ this.result_DATA.result17}}</label></div></a-col>
                  <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;text-align: center"><label style="height: 95%;width: 70%;text-align: center">{{ this.result_DATA.result18}}</label></div></a-col>
                </a-row>
                <a-row style="height: 10%">
                  <a-col :span="9" style="height: 100%;text-align: right">设计齿宽（mm）</a-col>
                  <a-col :span="15" style="height: 100%"><div style="width: 100%;height: 100%;text-align: center"><input style="width: 90%;height: 95%;text-align: center" v-model="params_8.width_p"/></div></a-col>

                </a-row>
                <a-row style="height: 10%">
                  <a-col :span="9" style="height: 100%;text-align: right"  ><div style="width: 100%;height: 100%" ><label  v-if="picked==='2'||e==='2'||a==='2'||f==='2'||b==='2'||g==='2'||d==='2'||i==='2'">辐板厚度（mm）</label></div></a-col>
                  <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;text-align: center" v-if="picked==='2'||e==='2'||a==='2'||f==='2'||b==='2'||g==='2'||d==='2'||i==='2'"><input style="height: 95%;width: 70%;text-align: center" v-model="params_8.web_thickness_s"/></div></a-col>
                  <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;text-align: center" v-if="picked==='2'||e==='2'||a==='2'||f==='2'||b==='2'||g==='2'||d==='2'||i==='2'"><input style="height: 95%;width: 70%;text-align: center" v-model="params_8.web_thickness_p"/></div></a-col>
                  <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;text-align: center" v-if="picked==='2'||e==='2'||a==='2'||f==='2'||b==='2'||g==='2'||d==='2'||i==='2'"><input style="height: 95%;width: 70%;text-align: center" v-model="params_8.web_thickness_r"/></div></a-col>
                </a-row>
                <a-row style="height: 10%">
                  <a-col :span="9" style="height: 100%;text-align: right" ><div style="width: 100%;height: 100%"  v-if="picked==='2'||e==='2'"><label  v-if="picked==='2'||e==='2'">轮缘分内/外径</label></div></a-col>
                  <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;text-align: center"  v-if="picked==='2'||e==='2'"><input style="height: 90%;width: 70%;text-align: center" v-model="params_8.D_s"/></div></a-col>
                  <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;text-align: center" ><input  v-if="picked==='2'||e==='2'" style="height: 90%;width: 70%;text-align: center" v-model="params_8.D_p"/></div></a-col>
                  <a-col :span="5" style="height: 100%"><div style="width: 100%;height: 100%;text-align: center" ><input v-if="picked==='2'||e==='2'" style="height: 90%;width: 70%;text-align: center" v-model="params_8.D_r"/></div></a-col>
                </a-row>
              </a-row>
            </a-col>
            <a-col :span="1" style="height: 100%">
              <a-row style="height: 73%"></a-row>
              <a-row style="height: 27%">
                <div style="width: 100%;height: 100%">
                  <button v-if="picked==='2'||e==='2'" style="width: 50%" @click="showModal" type="primary">!</button>
                  <a-modal
                      title="轮缘内径参考图"
                      :visible="visible"
                      @ok="handleOk"
                      @cancel="handleCancel"
                  >

                    <!--                    <img src="../../../assets/image/image_8_5.jpg" height="245" width="488"/>-->
                    <img src="../../../assets/image/image_8_5.jpg" height="245" width="488"/></a-modal>
                </div>
              </a-row>
            </a-col>
          </a-row>
          <a-row class="l_foot" style="height: 66.5%;">
            <a-row style="height: 4%"><div style="width: 100%;height: 100%;background: #f2f2f2"><label style="display: block;margin-left: 1.7%">载荷及相关数据的输入</label></div></a-row>
            <a-row style="height: 80%">
              <a-col :span="8" style="height: 100%">
                <a-row style="height: 67%">
                  <a-col :span="10" style="height: 100%;">
                    <div style="width: 100%;height: 100%;text-align: right">
                      <a-row style="height: 11.1%"><label style="text-align: right">结构形式</label></a-row>
                      <a-row style="height: 11.1%"><label style="text-align: right">行星轮个数</label></a-row>
                      <a-row style="height: 11.1%"><label style="text-align: right">不均载系数</label></a-row>
                      <a-row style="height: 11.1%"><label style="text-align: right" v-if="params_8.structure_type==='1'">行星架输入转速</label>
                        <label style="text-align: right" v-if="params_8.structure_type==='2'">齿圈输入转速</label></a-row>
                      <a-row style="height: 11.1%"><label style="text-align: right">运行工况</label></a-row>
                      <a-row style="height: 11.1%"><label style="text-align: right">允许点蚀</label></a-row>
                      <a-row style="height: 11.1%"><label style="text-align: right">接触长寿命系数</label></a-row>
                      <a-row style="height: 11.1%"><label style="text-align: right">弯曲长寿命系数</label></a-row>
                      <a-row style="height: 11.2%"><label style="text-align: right" v-if="params_8.structure_type==='1'">行星架载荷输入形式</label>
                        <label style="text-align: right" v-if="params_8.structure_type==='2'">齿圈载荷输入形式</label></a-row>
                    </div>
                  </a-col>
                  <a-col :span="2" style="height: 100%"></a-col>
                  <a-col :span="12" style="height: 100%">
                    <div style="width: 100%;height: 100%;text-align: right">
                      <a-row style="height: 11.1%;text-align: left">
                        <select style="height: 95%;width: 75%;text-align: center" v-model="params_8.structure_type">
                          <option value="1">行星传动（齿圈固定）</option>
                          <option value="2">星型传动（行星架固定）</option>
                        </select>
                      </a-row>
                      <a-row style="height: 11.1%;text-align: left"><input style="height: 95%;width: 37%;text-align: center" v-model="params_8.planet_number"/></a-row>
                      <a-row style="height: 11.1%;text-align: left">
                        <a-col :span="9" style="height: 100%">
                          <input style="height: 95%;width: 99%;text-align: center" v-model="params_8.load_share_factor"/>
                        </a-col>
                        <a-col :span="15" style="height: 100%" >
                          <button style="width: 20%;height: 100%">!</button>
                          <a-modal
                              title="不均载系数参考表"
                              :visible="visible"
                              @ok="handleOk"
                              @cancel="handleCancel"
                          >
                            <img src="../../../assets/image/image_8_1.jpg" height="245" width="488"/></a-modal>
                        </a-col>
                      </a-row>
                      <a-row style="height: 11.1%;text-align: left"><input v-if="params_8.structure_type==='1'" style="height: 95%;width: 37%;text-align: center" v-model="params_8.n_input"/>
                        <input v-if="params_8.structure_type==='2'" style="height: 95%;width: 37%;text-align: center" v-model="params_8.n_input"/>
                      </a-row>
                      <a-row style="height: 11.1%;text-align: left">
                        <select style="height: 95%;width: 37%;text-align: center" v-model="params_8.whether_single_rotation  ">
                          <option value="1">单向运转</option>
                          <option value="2">双向运转</option>
                        </select></a-row>
                      <a-row style="height: 11.1%;text-align: left">
                        <select style="height: 95%;width: 37%;text-align: center" v-model="params_8.switch_pitting">
                          <option value="1">是</option>
                          <option value="2">否</option>
                        </select>
                      </a-row>
                      <a-row style="height: 11.1%;text-align: left"><input style="height: 95%;width: 37%;text-align: center" v-model="params_8.Znt_Longlife"/></a-row>
                      <a-row style="height: 11.1%;text-align: left"><input style="height: 95%;width: 37%;text-align: center" v-model="params_8.Ynt_Longlife"/></a-row>
                      <a-row style="height: 11.1%;text-align: left">
                        <select style="height: 95%;width: 37%;text-align: center" v-model="params_8.whether_rate_load">
                          <option value="1">额定工况</option>
                          <option value="2">载荷谱</option>
                        </select>
                      </a-row>
                    </div>
                  </a-col>
                </a-row>
                <a-row style="height: 33%">
                  <a-row style="height: 33%;" v-if="params_8.whether_rate_load==='1'"></a-row>
                  <a-row style="height: 67%" v-if="params_8.whether_rate_load==='1'">
                    <!--              -->
                    <a-col :span="10" style="height: 100%">
                      <div style="width: 100%;height: 100%;text-align: right">
                        <!--                  <a-row style="height: 33.4%"><label style="text-align: right">设计寿命（hr）</label></a-row>-->
                        <a-row style="height: 33.3%"><label style="text-align: right;">行星架载荷输入形式</label></a-row>
                        <a-row style="height: 33.3%"><label style="text-align: right" v-if="params_8.whether_power==='2'&&params_8.structure_type==='1'">行星架输入扭矩（Nmm）</label>
                          <label style="text-align: right" v-if="params_8.whether_power==='1'&&params_8.structure_type==='1'">行星架输入功率（kW）</label>
                          <label style="text-align: right" v-if="params_8.whether_power==='1'&&params_8.structure_type==='2'">齿圈输入功率（kW）</label>
                          <label style="text-align: right" v-if="params_8.whether_power==='2'&&params_8.structure_type==='2'">齿圈输入扭矩（Nmm）</label>
                        </a-row>
                        <a-row style="height: 33.4%"><label style="text-align: right">设计寿命（hr）</label></a-row>
                      </div>
                    </a-col>
                    <a-col :span="2" style="height: 100%"></a-col>
                    <a-col :span="12" style="height: 100%">
                      <div style="width: 100%;height: 100%;text-align: right">
                        <a-row style="height: 33.3%;text-align: left">
                          <!--                    <select style="height: 95%;width: 37%;text-align: center" v-model="params_8.whether_rate_load">-->
                          <!--                      <option value="1">额定工况</option>-->
                          <!--                      <option value="2">载荷谱</option>-->
                          <!--                    </select>-->
                          <select style="height: 95%;width: 37%" v-model="params_8.whether_power">

                            <option value="2">输入扭矩</option>
                            <option value="1">输入功率</option>
                          </select>
                        </a-row>
                        <a-row style="height: 33.3%;text-align: left"><input style="height: 95%;width: 37%" v-model="params_8.spectrum_torque_carrier" /></a-row>
                        <a-row style="height: 33.3%;text-align: left"><input style="height: 95%;width: 37%" v-model="params_8.spectrum_time_ring"/></a-row>

                      </div>
                    </a-col>
                    <!--              -->
                    <!--              <a-row style="height: 33%"></a-row>-->
                    <!--              <a-row style="height: 34%"></a-row>-->
                  </a-row>
                  <a-row style="height: 30%" v-if="params_8.whether_rate_load==='2'">
                    <a-upload :showUploadList="false" :maxCount="1" :customRequest="customRequest" name="file">
                      <button style="width: 100%;height: 90%;margin-left: 80%">行星架输入载荷谱</button>
                    </a-upload>
                  </a-row>
                  <a-row style="height: 70%" v-if="params_8.whether_rate_load==='2'">
                    <tr style="height: 3%;text-align: center;width: 80%">
                      <th style="width: 4%">序号</th>
                      <th style="width: 4%">扭矩（Nmm）</th>
                      <th style="width: 4%">循环次数</th>
                      <th style="width: 4%">转速（rpm）</th>
                    </tr>
                    <tr style="text-align: center;width: 80%" >
                      <th style="width: 4%;text-align: center">1</th>
                      <th style="width: 4%;text-align: center">1.1000</th>
                      <th style="width: 4%;text-align: center">1.3000</th>
                      <th style="width: 4%;text-align: center">1.0500</th>
                    </tr>
                  </a-row>
                </a-row>
              </a-col>
              <a-col :span="8" style="height: 100%">
                <a-col :span="9" style="height: 100%;text-align: right">
                  <a-row style="height: 10%"><div style="width: 100%;height: 100%"></div></a-row>
                  <a-row style="height: 10%"><div style="width: 100%;height: 100%"><label>使用系数</label></div></a-row>
                  <a-row style="height: 10%"><div style="width: 100%;height: 100%"><label>动载系数</label></div></a-row>
                  <a-row style="height: 10%"><div style="width: 100%;height: 100%"><label>接触齿向载荷分布系数</label></div></a-row>
                  <a-row style="height: 10%"><div style="width: 100%;height: 100%"><label>接触齿间载荷分布系数</label></div></a-row>
                  <a-row style="height: 10%"><div style="width: 100%;height: 100%"><label>弯曲齿向载荷分布系数</label></div></a-row>
                  <a-row style="height: 10%"><div style="width: 100%;height: 100%"><label>弯曲齿间载荷分布系数</label></div></a-row>
                  <a-row style="height: 10%"><div style="width: 100%;height: 100%"><label>润滑油类型</label></div></a-row>
                  <a-row style="height: 10%"><div style="width: 100%;height: 100%"><label v-if="a==='2'">行星轮轴承安装位置</label></div></a-row>
                  <a-row style="height: 10%"><div style="width: 100%;height: 100%"><label  v-if="a==='2'">齿向修形情况</label></div></a-row>
                </a-col>
                <a-col :span="1" style="height: 100%"></a-col>
                <a-col :span="6" style="height: 100%">
                  <a-row style="height: 10%"><div style="width: 100%;height: 100%;text-align: center"><label>外啮合</label></div></a-row>
                  <a-row style="height: 10%"><div style="width: 100%;height: 100%;text-align: center"><input style="width:80%;height: 70%;text-align: center" v-model="params_8.K_A_external"/></div></a-row>
                  <a-row style="height: 10%"><div style="width: 100%;height: 100%;text-align: center" v-if="picked==='1'"><input style="width:80%;height: 70%;text-align: center" v-model="params_8.K_V_constant_external"/></div></a-row>
                  <a-row style="height: 10%"><div style="width: 100%;height: 100%;text-align: center" v-if="a==='1'"><input style="width:80%;height: 70%;text-align: center" v-model="params_8.K_Hb_constant_external"/></div></a-row>
                  <a-row style="height: 10%"><div style="width: 100%;height: 100%;text-align: center" v-if="b==='1'"><input style="width:80%;height: 70%;text-align: center" v-model="params_8.K_Ha_constant_external"/></div></a-row>
                  <a-row style="height: 10%"><div style="width: 100%;height: 100%;text-align: center" v-if="c==='1'"><input style="width:80%;height: 70%;text-align: center" v-model="params_8.K_Fb_constant_external"/></div></a-row>
                  <a-row style="height: 10%"><div style="width: 100%;height: 100%;text-align: center" v-if="d==='1'"><input style="width:80%;height: 70%;text-align: center" v-model="params_8.K_Fa_constant_external"/></div></a-row>
                  <a-row style="height: 10%"><div style="width: 100%;height: 100%;text-align: center">
                    <select style="width:80%;height: 70%;text-align: center" v-model="params_8.oil_type">
                      <option value="1">矿物油</option>
                      <option value="2">合成油</option>
                    </select>
                  </div>
                  </a-row>
                  <a-row style="height: 10%"><div style="width: 100%;height: 100%;text-align: center">
                    <select style="width:80%;height: 70%;text-align: center" v-model="params_8.bearing_mount_position" v-if="a==='2'||f==='2'">
                      <option value="1">轴承装在行星轮上</option>
                      <option value="2">轴承装在行星架上</option>
                    </select>
                  </div>
                  </a-row>
                  <a-row style="height: 10%"><div style="width: 100%;height: 100%;text-align: center">
                    <select style="width:80%;height: 70%;text-align: center" v-model="params_8.modification_condition" v-if="a==='2'||f==='2'">
                      <option value="1">不修形</option>
                      <option value="2">修形</option>
                    </select>
                  </div>
                  </a-row>
                </a-col>
                <a-col :span="8" style="height: 100%">
                  <a-row style="height: 18%"></a-row>
                  <a-row style="height: 52%">
                    <a-row style="height: 20%">
                      <form style="height: 100%;width: 100%" >
                        <a-row style="height: 50%" >
                          <input type="radio" name="male" value="1" style="height: 90%" v-model="picked"  checked="checked">用户输入
                        </a-row>
                        <a-row style="height: 50%" >
                          <input type="radio" name="male" value="2" style="margin-top: 1%;height: 90%"  v-model="picked">程序计算
                        </a-row>
                      </form>
                    </a-row>
                    <a-row style="height: 20%">
                      <form style="height: 100%;width: 100%" >
                        <a-row style="height: 50%" >
                          <input type="radio" name="male" value="1" style="height: 90%" v-model="a"  checked="checked">用户输入
                        </a-row>
                        <a-row style="height: 50%" >
                          <input type="radio" name="male" value="2" style="margin-top: 1%;height: 90%" v-model="a">程序计算
<!--                          <input type="text" name="male" v-if="a==='2'" value="0" style="display: none" v-model="params_8.user_defined_KHb_external">程序计算-->
<!--                          <input type="text" name="male" v-if="a==='2'" value="1" style="display: none" v-model="params_8.calculate_KHb_external"/>-->
                        </a-row>
                      </form>
                    </a-row>
                    <a-row style="height: 20%">
                      <form style="height: 100%;width: 100%" >
                        <a-row style="height: 50%" >
                          <input type="radio" name="male" value="1" style="height: 90%" v-model="b"  checked="checked">用户输入
                        </a-row>
                        <a-row style="height: 50%" >
                          <input type="radio" name="male" value="2" style="margin-top: 1%;height: 90%" v-model="b">程序计算
                        </a-row>
                      </form>
                    </a-row>
                    <a-row style="height: 20%">
                      <form style="height: 100%;width: 100%" >
                        <a-row style="height: 50%" >
                          <input type="radio" name="male" value="1" style="height: 90%"  v-model="c"  checked="checked">用户输入
                        </a-row>
                        <a-row style="height: 50%" >
                          <input type="radio" name="male" value="2" style="margin-top: 1%;height: 90%"  v-model="c">程序计算
                        </a-row>
                      </form>
                    </a-row>
                    <a-row style="height: 20%">
                      <form style="height: 100%;width: 100%" >
                        <a-row style="height: 50%" >
                          <input type="radio" name="male" value="1" style="height: 90%"  v-model="d"  checked="checked">用户输入
                        </a-row>
                        <a-row style="height: 50%" >
                          <input type="radio" name="male" value="2" style="margin-top: 1%;height: 90%" v-model="d">程序计算
                        </a-row>
                      </form>
                    </a-row>
                  </a-row>
                  <a-row style="height: 26%"></a-row>
                </a-col>
              </a-col>
              <a-col :span="7" style="height: 100%;">
                <a-row style="height: 70%">
                  <a-col :span="2" style="height: 100%;text-align: right">
                  </a-col>
                  <a-col :span="1" style="height: 100%"></a-col>
                  <a-col :span="7" style="height: 100%">
                    <a-row style="height: 14.2857%"><div style="width: 100%;height: 100%;text-align: center"><label>内啮合</label></div></a-row>
                    <a-row style="height: 14.2857%"><div style="width: 100%;height: 100%;text-align: center"><input style="width:80%;height: 70%;text-align: center" v-model="params_8.K_A_internal"/></div></a-row>
                    <a-row style="height: 14.2857%"><div style="width: 100%;height: 100%;text-align: center" v-if="e==='1'"><input style="width:80%;height: 70%;text-align: center" v-model="params_8.K_V_constant_internal"/></div></a-row>
                    <a-row style="height: 14.2857%"><div style="width: 100%;height: 100%;text-align: center" v-if="f==='1'"><input style="width:80%;height: 70%;text-align: center" v-model="params_8.K_Hb_constant_internal"/></div></a-row>
                    <a-row style="height: 14.2857%"><div style="width: 100%;height: 100%;text-align: center" v-if="g==='1'"><input style="width:80%;height: 70%;text-align: center" v-model="params_8.K_Ha_constant_internal"/></div></a-row>
                    <a-row style="height: 14.2857%"><div style="width: 100%;height: 100%;text-align: center" v-if="h==='1'"><input style="width:80%;height: 70%;text-align: center" v-model="params_8.K_Fb_constant_internal"/></div></a-row>
                    <a-row style="height: 14.2858%"><div style="width: 100%;height: 100%;text-align: center" v-if="i==='1'"><input style="width:80%;height: 70%;text-align: center" v-model="params_8.K_Fa_constant_internal"/></div></a-row>
                  </a-col>
                  <a-col :span="10" style="height: 100%">
                    <a-row style="height: 25%">
                      <div style="width: 100%;height: 100%;margin-top: 23%">
                        <button style="width: 18%;height: 40%" >!</button>
                        <!--                        <a-modal-->
                        <!--                            title="使用系数参考表"-->
                        <!--                            :visible="visible"-->
                        <!--                            @ok="handleOk"-->
                        <!--                            @cancel="handleCancel"-->
                        <!--                        >-->

                        <!--                          <img src="../../../assets/image/image_8_2.jpg" height="245" width="488"/></a-modal>-->
                      </div>
                    </a-row>
                    <a-row style="height: 75%">
                      <a-col :span="14" style="height: 100%">
                        <a-row style="height: 20%">
                          <form style="height: 100%;width: 100%" >
                            <a-row style="height: 50%" >
                              <input type="radio" name="male" value="1" style="" v-model="e" checked="checked">用户输入
                            </a-row>
                            <a-row style="height: 50%" >
                              <div style="margin-top: 1%">
                                <input type="radio" name="male" value="2" style="margin-top: 1%" v-model="e">程序计算
                              </div>
                            </a-row>
                          </form>
                        </a-row>

                        <a-row style="height: 20%">
                          <form style="height: 100%;width: 100%" >
                            <a-row style="height: 50%" >
                              <input type="radio" name="male" value="1" style="" v-model="f" checked="checked">用户输入
                            </a-row>
                            <a-row style="height: 50%" >
                              <div style="margin-top: 1%">
                                <input type="radio" name="male" value="2" style="margin-top: 1%" v-model="f">程序计算
                              </div>
                            </a-row>
                          </form>
                        </a-row>

                        <a-row style="height: 20%">
                          <form style="height: 100%;width: 100%" >
                            <a-row style="height: 50%" >
                              <input type="radio" name="male" value="1" style="" v-model="g" checked="checked">用户输入
                            </a-row>
                            <a-row style="height: 50%" >
                              <div style="margin-top: 1%">
                                <input type="radio" name="male" value="2" style="margin-top: 1%" v-model="g" >程序计算
                              </div>
                            </a-row>
                          </form>
                        </a-row>

                        <a-row style="height: 20%">
                          <form style="height: 100%;width: 100%" >
                            <a-row style="height: 50%" >
                              <input type="radio" name="male" value="1" style="" v-model="h" checked="checked">用户输入
                            </a-row>
                            <a-row style="height: 50%" >
                              <div style="margin-top: 1%">
                                <input type="radio" name="male" value="2" style="margin-top: 1%" v-model="h" >程序计算
                              </div>
                            </a-row>
                          </form>
                        </a-row>

                        <a-row style="height: 20%">
                          <form style="height: 100%;width: 100%" >
                            <a-row style="height: 50%" >
                              <input type="radio" name="male" value="1" style="" v-model="i" checked="checked">用户输入
                            </a-row>
                            <a-row style="height: 50%" >
                              <div style="margin-top: 1%">
                                <input type="radio" name="male" value="2" style="margin-top: 1%" v-model="i">程序计算
                              </div>
                            </a-row>
                          </form>
                        </a-row>
                      </a-col>
                      <a-col :span="10" style="height: 100%">
                        <a-row style="height: 20%">
                          <div style="height: 100%;width: 100%;">
                            <button style="display: block;width: 45%;margin-top: 5%">！</button>
                            <!--                            <a-modal-->
                            <!--                                title="动载系数参考表"-->
                            <!--                                :visible="visible"-->
                            <!--                                @ok="handleOk"-->
                            <!--                                @cancel="handleCancel"-->
                            <!--                            >-->

                            <!--                              <img src="../../../assets/image/image_8_3.jpg" height="245" width="488"/></a-modal>-->
                          </div>
                        </a-row>
                        <a-row style="height: 20%">
                          <div style="height: 100%;width: 100%;">
                            <button style="display: block;width: 45%;margin-top: 6%">！</button>
                            <!--                            <a-modal-->
                            <!--                                title="齿间载荷分配系数载荷参考表"-->
                            <!--                                :visible="visible"-->
                            <!--                                @ok="handleOk"-->
                            <!--                                @cancel="handleCancel"-->
                            <!--                            >-->

                            <!--                              <img src="../../../assets/image/image_8_7.jpg"height="245" width="488"/></a-modal>-->
                          </div>
                        </a-row>
                        <a-row style="height: 20%"></a-row>
                        <a-row style="height: 20%"></a-row>
                        <a-row style="height: 20%">
                          <div style="height: 100%;width: 100%;">
                            <button style="display: block;width: 45%;margin-top: 6%">！</button>

                          </div>
                        </a-row>
                      </a-col>
                    </a-row>
                  </a-col>
                </a-row>
                <a-row style="height: 30%">
                  <a-row style="height: 2%"></a-row>
                  <a-row style="height: 33.33%">
                    <a-col :span="12" style="height: 100%"><div><label>润滑油40℃粘度（mm^2/s）</label></div></a-col>
                    <a-col :span="12" style="height: 100%"><div><input style="width: 50%;height: 45%;margin-top: 2%;text-align: center" v-model="params_8.v_40"/></div></a-col>
                  </a-row>
                  <a-row style="height: 33.33%;">
                    <a-col :span="12" style="height: 100%"><div><label v-if="a==='2'">行星轮轴承跨距（mm）</label></div></a-col>
                    <a-col :span="12" style="height: 100%"><div><input  v-if="a==='2'||f==='2'" style="width: 50%;height: 45%;text-align: center" v-model="params_8.Lp"/></div></a-col>
                  </a-row>
                  <a-row style="height: 31.34%"></a-row>
                </a-row>
              </a-col>
              <a-col :span="1" style="height: 100%;"></a-col>
            </a-row>
            <a-row class="l_foot_foot" style="height: 38%">
              <a-col :span="3"  style="height: 100%;"></a-col>
              <a-col :span="10" style="height: 100%">
                <a-row style="height: 5%"></a-row>
                <a-row style="height: 95%">

                  <tr style="height: 3%;text-align: center;">
                    <th style="width: 4%">序号</th>
                    <th style="width: 4%">动载系数</th>
                    <th style="width: 4%">接触齿向...</th>
                    <th style="width: 4%">接触齿间...</th>
                    <th style="width: 4%">弯曲齿向...</th>
                    <th style="width: 4%">弯曲齿间...</th>
                  </tr>
                  <tr style="text-align: center" >
                    <th style="width: 4%;text-align: center">{{params_8.K_A_external}}</th>
                    <th style="width: 4%;text-align: center">{{ params_8.K_V_constant_external }}</th>
                    <th style="width: 4%;text-align: center">{{params_8.K_Hb_constant_external}}</th>
                    <th style="width: 4%;text-align: center">{{params_8.K_Ha_constant_external}}</th>
                    <th style="width: 4%;text-align: center">{{params_8.K_Fb_constant_external}}</th>
                    <th style="width: 4%;text-align: center">{{params_8.K_Fa_constant_external}}</th>
                  </tr>
                </a-row>
              </a-col>
              <a-col :span="1"  style="height: 100%"></a-col>
              <a-col :span="10" style="height: 100%">
                <a-row style="height: 5%"></a-row>
                <a-row style="height: 95%">
                  <tr style="height: 3%;text-align: center;margin-top: 5%">
                    <th style="width: 4%">序号</th>
                    <th style="width: 4%">动载系数</th>
                    <th style="width: 4%">接触齿向...</th>
                    <th style="width: 4%">接触齿间...</th>
                    <th style="width: 4%">弯曲齿向...</th>
                    <th style="width: 4%">弯曲齿间...</th>
                  </tr>
                  <tr style="text-align: center" >
                    <th style="width: 4%;text-align: center">{{params_8.K_A_internal}}</th>
                    <th style="width: 4%;text-align: center">{{ params_8.K_V_constant_internal}}</th>
                    <th style="width: 4%;text-align: center">{{params_8.K_Hb_constant_internal }}</th>
                    <th style="width: 4%;text-align: center">{{ params_8.K_Ha_constant_internal}}</th>
                    <th style="width: 4%;text-align: center">{{params_8.K_Fb_constant_internal }}</th>
                    <th style="width: 4%;text-align: center">{{params_8.K_Fa_constant_internal }}</th>
                  </tr>
                </a-row>
              </a-col>

            </a-row>
          </a-row>
        </a-col>
        <a-col class="all_inpit_r" :span="8" style="height: 100%">
          <a-row style="height: 0.5%"></a-row>
          <a-row class="all_inpit_r_top" style="height: 43.5%">
            <a-row style="height: 6%;"><div style="width: 100%;height: 100%"><label>齿形参数输入</label></div></a-row>
            <a-row style="height: 5%">
              <a-col style="height: 100%" :span="9"></a-col>
              <a-col style="height: 100%" :span="5"><div style="width: 100%;height: 100%;text-align: center;margin-top: -1.3%"><label>太阳轮</label></div></a-col>
              <a-col style="height: 100%" :span="5"><div style="width: 100%;height: 100%;text-align: center;margin-top: -1.3%"><label>行星轮</label></div></a-col>
              <a-col style="height: 100%" :span="5"><div style="width: 100%;height: 100%;text-align: center;margin-top: -1.3%"><label>齿圈</label></div></a-col>
            </a-row>
            <a-row style="height: 89%">
              <a-row style="height: 6.25%">
                <a-col style="height: 100%;" :span="9"><div style="width: 100%;height: 100%;text-align: right"><label>齿顶高系数</label></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.ad_factor_s"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.ad_factor_p"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.ad_factor_r"/></div></a-col>
              </a-row>
              <a-row style="height: 6.25%">
                <a-col style="height: 100%;" :span="9"><div style="width: 100%;height: 100%;text-align: right"><label>顶隙系数</label></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.tip_factor_s"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.tip_factor_p"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.tip_factor_r"/></div></a-col>
              </a-row>
              <a-row style="height: 6.25%">
                <a-col style="height: 100%;" :span="9"><div style="width: 100%;height: 100%;text-align: right"><label>齿根圆角半径系数</label></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.radius_factor_s"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.radius_factor_p"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.radius_factor_r"/></div></a-col>
              </a-row>
              <a-row style="height: 6.25%">
                <a-col style="height: 100%;" :span="9"><div style="width: 100%;height: 100%;text-align: right"><label>轮缘厚度系数</label></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.SR_s"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.SR_p"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.SR_r"/></div></a-col>
              </a-row>
              <a-row style="height: 6.25%">
                <a-col style="height: 100%;" :span="9"><div style="width: 100%;height: 100%;text-align: right"><label>齿向倒角高度（直径）（mm）</label></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.chamfer_dia_s"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.chamfer_dia_p"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.chamfer_dia_r"/></div></a-col>
              </a-row>
              <a-row style="height: 6.25%">
                <a-col style="height: 100%;" :span="9"><div style="width: 100%;height: 100%;text-align: right"><label>齿向倒角角度（°）</label></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.chamfer_angle_s"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.chamfer_angle_p"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.chamfer_angle_r"/></div></a-col>
              </a-row>
              <a-row style="height: 6.25%">
                <a-col style="height: 100%;" :span="9"><div style="width: 100%;height: 100%;text-align: right"><label>齿顶削减量（直径）（mm）</label></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.ad_cut_dia_s"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.ad_cut_dia_p"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.ad_cut_dia_r"/></div></a-col>
              </a-row>
              <a-row style="height: 6.25%">
                <a-col style="height: 100%;" :span="9"><div style="width: 100%;height: 100%;text-align: right"><label>挖根量（mm）</label></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.undercut_s"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.undercut_p"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.undercut_r"/></div></a-col>
              </a-row>
              <a-row style="height: 6.25%">
                <a-col style="height: 100%;" :span="9"><div style="width: 100%;height: 100%;text-align: right"><label>齿面粗糙度Rz（um）</label></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.R_z_flank_s"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.R_z_flank_p"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.R_z_flank_r"/></div></a-col>
              </a-row>
              <a-row style="height: 6.25%">
                <a-col style="height: 100%;" :span="9"><div style="width: 100%;height: 100%;text-align: right"><label>齿根圆角粗糙度Rz（um）</label></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.R_z_root_s"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.R_z_root_p"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.R_z_root_r"/></div></a-col>
              </a-row>
              <a-row style="height: 6.25%">
                <a-col style="height: 100%;" :span="9"><div style="width: 100%;height: 100%;text-align: right"><label>齿厚上偏差（um）</label></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.thickness_reduction_s"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.thickness_reduction_p"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.thickness_reduction_r"/></div></a-col>
              </a-row>
              <a-row style="height: 6.25%">
                <a-col style="height: 100%;" :span="9"><div style="width: 100%;height: 100%;text-align: right"><label>齿厚公差（um）</label></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.tooth_thickness_tolerance_s"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.tooth_thickness_tolerance_p"/></div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;text-align: center"><input style="height: 95%;width: 66%;text-align: center" v-model="params_8.tooth_thickness_tolerance_r"/></div></a-col>
              </a-row>
              <a-row style="height: 6.25%">
                <a-col style="height: 100%;" :span="9"><div style="width: 100%;height: 100%;text-align: right"><label>弯曲强度计算齿厚度（um）</label></div></a-col>
                <a-col style="height: 100%;" :span="5">
                  <a-col :span="12" style="height: 100%;">
                    <div style="width: 100%;height: 100%;text-align: right"><label>{{ this.result_DATA.result19}}</label></div>
                  </a-col>
                  <a-col :span="12" style="height: 100%;">
                    <div style="width: 100%;height: 100%;text-align: right">
                      <select  v-model="params_8.bend_strength_thickness_s">
                        <option value="1">最小</option>
                        <option value="2">平均</option>
                        <option value="3">最大</option>
                      </select>
                    </div>
                  </a-col>
                </a-col>
                <a-col style="height: 100%;" :span="5"> <a-col :span="12" style="height: 100%;">
                  <div style="width: 100%;height: 100%;text-align: right"><label>{{ this.result_DATA.result20}}</label></div>
                </a-col>
                  <a-col :span="12" style="height: 100%;">
                    <div style="width: 100%;height: 100%;text-align: right">
                      <select v-model="params_8.bend_strength_thickness_p">
                        <option value="1">最小</option>
                        <option value="2">平均</option>
                        <option value="3">最大</option>
                      </select>
                    </div>
                  </a-col>
                </a-col>
                <a-col style="height: 100%;" :span="5"> <a-col :span="12" style="height: 100%;">
                  <div style="width: 100%;height: 100%;text-align: right">{{ this.result_DATA.result21}}</div>
                </a-col>
                  <a-col :span="12" style="height: 100%;">
                    <div style="width: 100%;height: 100%;text-align: right">
                      <select  v-model="params_8.bend_strength_thickness_r">
                        <option value="1">最小</option>
                        <option value="2">平均</option>
                        <option value="3">最大</option>
                      </select>
                    </div>
                  </a-col>
                </a-col>
              </a-row>
              <a-row style="height: 12.5%">
                <a-col style="height: 100%;" :span="9">
                  <a-row style="height: 50%">
                    <div style="width: 100%;height: 100%;text-align: right"><label >加工内齿刀具变位系数</label></div>
                  </a-row>
                  <a-row style="height: 50%">
                    <div style="width: 100%;height: 100%;text-align: right"><label>加工内齿刀具齿数</label></div>
                  </a-row>
                </a-col>
                <a-col style="height: 100%;" :span="7">
                  <a-row style="height: 50%">
                    <div style="width: 100%;height: 100%;text-align: right;margin-left: -22.5%;"  ><input id="wee" value="0"  style="margin-left: 2.5%;height: 95%;width: 65%;background: #f2f2f2" disabled="disabled"/></div>
                  </a-row>
                  <a-row style="height: 50%">
                    <div style="width: 100%;height: 100%;text-align: right;margin-left: -22.5%;" ><input  id="weew"  value="39" style="margin-left: 2.5%;height: 95%;width: 65%;background: #f2f2f2" ref="weew" disabled="disabled" /></div>
                  </a-row>
                </a-col>
                <a-col :span="8" style="height: 100%">
                  <form style="margin-top: 2px;height: 100%" >
                    <a-row style="height: 50%" >
                      <input type="radio" name="m" value="1" checked @click="is_edit">自动
                    </a-row>
                    <a-row style="height: 50%" >
                      <input type="radio" name="m" value="2" style="margin-top: -3%" @click="edit">手动
                    </a-row>
                  </form>
                </a-col>
              </a-row>

              <a-row style="height: 6.25%">
                <a-col style="height: 100%;" :span="9"><div style="width: 100%;height: 100%;text-align: right" v-if="picked==='2'||e==='2'||a==='2'||f==='2'||b==='2'||g==='2'||d==='2'||i==='2'"><label>精度等级</label></div></a-col>
                <a-col style="height: 100%;" :span="5">
                  <div style="width: 100%;height: 100%;margin-left: 18%" v-if="picked==='2'||e==='2'||a==='2'||f==='2'||b==='2'||g==='2'||d==='2'||i==='2'">
                    <select style="height: 95%;width: 66%;text-align: center" v-model="params_8.quality_grade_s">
                      <option value="0">0</option>
                      <option value="1">1</option>
                      <option value="2">2</option>
                      <option value="3">3</option>
                      <option value="4">4</option>
                      <option value="5">5</option>
                      <option value="6">6</option>
                      <option value="7">7</option>
                      <option value="8">8</option>
                      <option value="9">9</option>
                      <option value="10">10</option>
                      <option value="11">11</option>
                      <option value="12">12</option>

                    </select>
                  </div>
                </a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;margin-left: 17.4%" >
                  <select style="height: 95%;width: 66%;text-align: center" v-model="params_8.quality_grade_p" v-if="picked==='2'||e==='2'||a==='2'||f==='2'||b==='2'||g==='2'||d==='2'||i==='2'">
                    <option value="0">0</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    <option value="6">6</option>
                    <option value="7">7</option>
                    <option value="8">8</option>
                    <option value="9">9</option>
                    <option value="10">10</option>
                    <option value="11">11</option>
                    <option value="12">12</option>

                  </select>
                </div></a-col>
                <a-col style="height: 100%;" :span="5"><div style="width: 100%;height: 100%;margin-left: 17.4%" >
                  <select style="height: 95%;width: 66%;text-align: center" v-model="params_8.quality_grade_r" v-if="picked==='2'||e==='2'||a==='2'||f==='2'||b==='2'||g==='2'||d==='2'||i==='2'">
                    <option value="0">0</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    <option value="6">6</option>
                    <option value="7">7</option>
                    <option value="8">8</option>
                    <option value="9">9</option>
                    <option value="10">10</option>
                    <option value="11">11</option>
                    <option value="12">12</option>

                  </select>
                </div></a-col>
              </a-row>
            </a-row>
          </a-row>
          <a-row class="all_inpit_r_mid" style="height: 24%">
            <a-col :span="16" style="height: 100%">
              <div style="margin-left: 8%;text-align: center;">
                <img style="margin-top: 1.5%" v-if="params_8.structure_type==='2'" src="../../../assets/image/image_8_4.jpg" width="200" height="160"/>
                <img style="margin-top: 1.5%" v-if="params_8.structure_type==='1'" src="../../../assets/image/image_8_6.jpg" height="160" width="200"/>
              </div>
            </a-col>
            <a-col :span="8" style="height: 100%">
              <div style="width: 50%;height: 100%;margin-left: 50%">
                <button style="width: 100%;height: 12%;display: block;margin-top: 5%;" @click="caculation">计算</button>
              </div>
            </a-col>
          </a-row>
          <a-row  class="all_inpit_r_foot" style="height: 32%">
            <a-row style="height: 9%">
              <div style="height: 100%;width: 100%;background-color: #f2f2f2">
                <label>齿轮疲劳强度校核结果</label>
              </div>
            </a-row>
            <a-row style="height: 7%">
              <a-col :span="8" style="height: 100%"></a-col>
              <a-col :span="8" style="height: 100%">
                <div style="width: 100%;height: 100%;text-align: center">
                  <label>外啮合</label>
                </div>
              </a-col>
              <a-col :span="8" style="height: 100%">
                <div style="width: 100%;height: 100%;text-align: center">
                  <label>内啮合</label>
                </div>
              </a-col>
            </a-row>
            <a-row style="height: 9%">
              <a-col :span="8" style="height: 100%"></a-col>
              <a-col :span="8" style="height: 100%">
                <a-col :span="12" style="height: 100%">
                  <div style="height: 100%;width: 100%;text-align: center"><label>太阳轮</label></div>
                </a-col>
                <a-col :span="12" style="height: 100%">
                  <div style="height: 100%;width: 100%;text-align: center"><label>行星轮</label></div>
                </a-col>
              </a-col>
              <a-col :span="8" style="height: 100%">
                <a-col :span="12" style="height: 100%">
                  <div style="height: 100%;width: 100%;text-align: center"><label>太阳轮</label></div>
                </a-col>
                <a-col :span="12" style="height: 100%">
                  <div style="height: 100%;width: 100%;text-align: center"><label>行星轮</label></div>
                </a-col>
              </a-col>

            </a-row>
            <a-row class="font1" style="height: 9%">
              <a-col :span="8" style="height: 100%">
                <div style="height: 100%;width: 100%"><label>接触疲劳安全系数（正转）</label></div>
              </a-col>
              <a-col :span="8" style="height: 100%">
                <a-col :span="12" style="height: 100%">
                  <div style="height: 100%;width: 100%;text-align: center"><label style="height: 78%;width: 78%;text-align: center" >{{ this.result_DATA.result1}}</label></div>
                </a-col>
                <a-col :span="12" style="height: 100%">
                  <div style="height: 100%;width: 100%;text-align: center"><label style="height: 78%;width: 78%;text-align: center" >{{ this.result_DATA.result2}}</label></div>
                </a-col>
              </a-col>
              <a-col :span="8" style="height: 100%">
                <a-col :span="12" style="height: 100%">
                  <div style="height: 100%;width: 100%;text-align: center"><label style="height: 78%;width: 78%;text-align: center" >{{ this.result_DATA.result3}}</label></div>
                </a-col>
                <a-col :span="12" style="height: 100%">
                  <div style="height: 100%;width: 100%;text-align: center"><label style="height: 78%;width: 78%;text-align: center" >{{ this.result_DATA.result4}}</label></div>
                </a-col>
              </a-col>

            </a-row>
            <a-row class="font2" style="height: 9%">
              <a-col :span="8" style="height: 100%">
                <div style="height: 100%;width: 100%"><label>弯曲疲劳安全系数（正转）</label></div>
              </a-col>
              <a-col :span="8" style="height: 100%">
                <a-col :span="12" style="height: 100%">
                  <div style="height: 100%;width: 100%;text-align: center"><label style="height: 78%;width: 78%;text-align: center" >{{ this.result_DATA.result5}}</label></div>
                </a-col>
                <a-col :span="12" style="height: 100%">
                  <div style="height: 100%;width: 100%;text-align: center"><label style="height: 78%;width: 78%;text-align: center" >{{ this.result_DATA.result6}}</label></div>
                </a-col>
              </a-col>
              <a-col :span="8" style="height: 100%">
                <a-col :span="12" style="height: 100%">
                  <div style="height: 100%;width: 100%;text-align: center"><label style="height: 78%;width: 78%;text-align: center" >{{ this.result_DATA.result7}}</label></div>
                </a-col>
                <a-col :span="12" style="height: 100%">
                  <div style="height: 100%;width: 100%;text-align: center"><label style="height: 78%;width: 78%;text-align: center" >{{ this.result_DATA.result8}}</label></div>
                </a-col>
              </a-col>
            </a-row>
            <a-row class="font3" style="height: 9%">
              <a-col :span="8" style="height: 100%">
                <div style="height: 100%;width: 100%"><label>接触疲劳安全系数（反转）</label></div>
              </a-col>
              <a-col :span="8" style="height: 100%">
                <a-col :span="12" style="height: 100%">
                  <div style="height: 100%;width: 100%;text-align: center"><label style="height: 78%;width: 78%;text-align: center" >{{ this.result_DATA.result9}}</label></div>
                </a-col>
                <a-col :span="12" style="height: 100%">
                  <div style="height: 100%;width: 100%;text-align: center"><label style="height: 78%;width: 78%;text-align: center" >{{ this.result_DATA.result10}}</label></div>
                </a-col>
              </a-col>
              <a-col :span="8" style="height: 100%">
                <a-col :span="12" style="height: 100%">
                  <div style="height: 100%;width: 100%;text-align: center"><label style="height: 78%;width: 78%;text-align: center" >{{ this.result_DATA.result11}}</label></div>
                </a-col>
                <a-col :span="12" style="height: 100%">
                  <div style="height: 100%;width: 100%;text-align: center"><label style="height: 78%;width: 78%;text-align: center" >{{ this.result_DATA.result12}}</label></div>
                </a-col>
              </a-col>
            </a-row>
            <a-row class="font4" style="height: 9%">
              <a-col :span="8" style="height: 100%">
                <div style="height: 100%;width: 100%"><label>弯曲疲劳安全系数（反转）</label></div>
              </a-col>
              <a-col :span="8" style="height: 100%">
                <a-col :span="12" style="height: 100%">
                  <div style="height: 100%;width: 100%;text-align: center"><label style="height: 78%;width: 78%;text-align: center" >{{ this.result_DATA.result13}}</label></div>
                </a-col>
                <a-col :span="12" style="height: 100%">
                  <div style="height: 100%;width: 100%;text-align: center"><label style="height: 78%;width: 78%;text-align: center" >{{ this.result_DATA.result14}}</label></div>
                </a-col>
              </a-col>
              <a-col :span="8" style="height: 100%">
                <a-col :span="12" style="height: 100%">
                  <div style="height: 100%;width: 100%;text-align: center"><label style="height: 78%;width: 78%;text-align: center" >{{ this.result_DATA.result15}}</label></div>
                </a-col>
                <a-col :span="12" style="height: 100%">
                  <div style="height: 100%;width: 100%;text-align: center"><label style="height: 78%;width: 78%;text-align: center" >{{ this.result_DATA.result16}}</label></div>
                </a-col>
              </a-col>

            </a-row>
            <a-row style="height: 39%;"></a-row>
          </a-row>
        </a-col>
      </a-row>
    </a-row>
  </div>
</template>

<script>
// import {filetext} from "@/api/file";
// var params_8;
import {firetext, parallel_planet_fatiguesafe_check} from "@/api/file";

export default {
  created () {
    document.title = '行星轮系齿轮强度校核' //模块中文名
    this.$store.state.file.key = 8 //设置key为自己的页面编号
  },
      name: "parallel_planet_fatiguesafe_check",
  data() {//a到i初始化为1，是因为默认选择程序计算模式，这个后端jar包有问题，还没有拉通，只是把初始化数据绑定到页面
    return {
      visible: false,
      confirmLoading: false,//图片弹出
      picked: "1",
      a: "1",
      b: "1",
      c: "1",
      d: "1",
      e: "1",
      f: "1",
      g: "1",
      h: "1",
      i: "1",

      params_8:this.$store.state.file.dataList[8],

      result_DATA:{//初始化结果
        result1:'Static Text',
        result2:'Static Text',
        result3:'Static Text',
        result4:'Static Text',
        result5:'Static Text',
        result6:'Static Text',
        result7:'Static Text',
        result8:'Static Text',
        result9:'Static Text',
        result10:'Static Text',
        result11:'Static Text',
        result12:'Static Text',
        result13:'Static Text',
        result14:'Static Text',
        result15:'Static Text',
        result16:'Static Text',
        result17:'Static Text',
        result18:'Static Text',
        result19:'Text',
        result20:'Text',
        result21:'Text',
      }
    }
  },
  methods: {
    customRequest(data) {
      const formData = new FormData()
      formData.append('fileName ', data.file)
      firetext(formData)
          .then(res => {//这里需要用箭头函数，如果不用箭头函数里面的this就不是外面那个this
            console.log(res)
            this.items = res.data;
          })
          .catch(error => {
            console.log(error)
          });
    },
    // changevalue1(){
    //   alert(this.$store.state.file.dataList[8].user_defined_KHb_external)
    //   alert(this.$store.state.file.dataList[8].calculate_KHb_external)
    //   this.$store.state.file.dataList[8].user_defined_KV_external==='0';
    //   this.$store.state.file.dataList[8].calculate_KV_external==='1'
    // },
    // tantan1(){
    //   alert(this.$store.state.file.dataList[8].user_defined_KHb_external)
    // },
    // tantan(){
    //   alert(this.$store.state.file.dataList[8].calculate_KHb_external)
    // },
    // changevalue2(){
    //   alert(111)
    //   this.$store.state.file.dataList[8].user_defined_KHb_external==='0';
    //   this.$store.state.file.dataList[8].calculate_KHb_external==='1';
    //   alert(222)
    // },
    showModal() {//图片弹出函数
      this.visible = true;
    },
    //点击ok
    //点击ok
    handleOk() {

      this.visible = false;
    },
    //点击cancel
    handleCancel() {
      console.log('Clicked cancel button');
      this.visible = false;
    },

    // customRequest(){
    //    const formData = new FormData()
    //   formData.append("fileName",data.file)
    //   formData.append("filePath","LDD/Load")
    //   filetext(formData)
    //   .then(res =>{
    //       console.log(res)
    //
    //   })
    // },
    is_edit() {//这里是点击自动是不可编辑，点击手动时可以在页面修改文档
      // document.getElementById('wee').disabled='disable'

      var bi = document.getElementById('wee')
      bi.disabled = 'disable'
      bi.style.background = "#f2f2f2"
      this.$refs.weew.disabled = 'disable'
      var ai = document.getElementById('weew')
      ai.style.background = "#f2f2f2"
    },
    edit() {
      var bii = document.getElementById('wee')
      bii.removeAttribute('disabled')
      bii.removeAttribute('style.background')
      var aii = document.getElementById('weew')
      aii.removeAttribute('disabled')
      aii.removeAttribute('style.background')
      aii.style.background = "white"
      bii.style.background = "white"
    },
    caculation(){//调用接口函数计算
      // console.log(this.$store.state.file.dataList[8].z_r)
      parallel_planet_fatiguesafe_check(this.params_8).then(res =>{

        this.result_DATA.result1=res[0]
        this.result_DATA.result2=res[1]
        this.result_DATA.result3=res[2]
        this.result_DATA.result4=res[3]
        this.result_DATA.result5=res[4]
        this.result_DATA.result6=res[5]
        this.result_DATA.result7=res[6]
        this.result_DATA.result8=res[7]
        this.result_DATA.result9=res[8]
        this.result_DATA.result10=res[9]
        this.result_DATA.result11=res[10]
        this.result_DATA.result12=res[11]
        this.result_DATA.result13=res[12]
        this.result_DATA.result14=res[13]
        this.result_DATA.result15=res[14]
        this.result_DATA.result16=res[15]
        this.result_DATA.result17=res[16]
        this.result_DATA.result18=res[17]
        this.result_DATA.result19=res[18]
        this.result_DATA.result20=res[19]
        this.result_DATA.result21=res[20]
        console.log(res)
      })
    }
  },
}
</script>
<style scoped>
.table1
{
  height: 90%;
  width: 87%;
  overflow: scroll;
}
.table1 th
{
  width: 10%;
}
.table1,th,tr,td
{
  border: 1px solid grey;
}
.font1 {
  font-size: 14px;
}
.font2 {
  font-size: 14px;
}
.font3 {
  font-size: 14px;
}
.font4 {
  font-size: 14px;
}
</style>

